<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD><TITLE>Tcl Commands</TITLE>
<link rel="stylesheet" href="../docs.css" type="text/css" media="all">
</HEAD>
<BODY><H2><a href="../contents.htm">Tcl8.6.11/Tk8.6.11 Documentation</a> <small>&gt;</small> Tcl Commands</H2>
<H3><A HREF="../UserCmd/contents.htm">Tcl/Tk Applications</A> | Tcl Commands | <A HREF="../TkCmd/contents.htm">Tk Commands</A> | <A HREF="../ItclCmd/contents.htm">[incr Tcl] Package Commands</A> | <A HREF="../SqliteCmd/contents.htm">SQLite3 Package Commands</A> | <A HREF="../TdbcCmd/contents.htm">TDBC Package Commands</A> | <A HREF="../TdbcmysqlCmd/contents.htm">tdbc::mysql Package Commands</A> | <A HREF="../TdbcodbcCmd/contents.htm">tdbc::odbc Package Commands</A> | <A HREF="../TdbcpostgresCmd/contents.htm">tdbc::postgres Package Commands</A> | <A HREF="../TdbcsqliteCmd/contents.htm">tdbc::sqlite3 Package Commands</A> | <A HREF="../ThreadCmd/contents.htm">Thread Package Commands</A> | <A HREF="../TclLib/contents.htm">Tcl C API</A> | <A HREF="../TkLib/contents.htm">Tk C API</A> | <A HREF="../ItclLib/contents.htm">[incr Tcl] Package C API</A> | <A HREF="../TdbcLib/contents.htm">TDBC Package C API</A></H3>
<table>
<tr><td> <a href="after.htm" title="Execute a command after a time delay">after</a> </td><td> <a href="tclvars.htm" title="Variables used by Tcl">errorInfo</a> </td><td> <a href="load.htm" title="Load machine code and initialize new commands">load</a> </td><td> <a href="re_syntax.htm" title="Syntax of Tcl regular expressions">re_syntax</a> </td><td> <a href="library.htm" title="Standard library of Tcl procedures">tcl_startOfNextWord</a> </td></tr>
<tr><td> <a href="append.htm" title="Append to variable">append</a> </td><td> <a href="eval.htm" title="Evaluate a Tcl script">eval</a> </td><td> <a href="lrange.htm" title="Return one or more adjacent elements from a list">lrange</a> </td><td> <a href="read.htm" title="Read from a channel">read</a> </td><td> <a href="library.htm" title="Standard library of Tcl procedures">tcl_startOfPreviousWord</a> </td></tr>
<tr><td> <a href="apply.htm" title="Apply an anonymous function">apply</a> </td><td> <a href="exec.htm" title="Invoke subprocesses">exec</a> </td><td> <a href="lrepeat.htm" title="Build a list by repeating elements">lrepeat</a> </td><td> <a href="refchan.htm" title="Command handler API of reflected channels">refchan</a> </td><td> <a href="tclvars.htm" title="Variables used by Tcl">tcl_traceCompile</a> </td></tr>
<tr><td> <a href="tclvars.htm" title="Variables used by Tcl">argc</a> </td><td> <a href="exit.htm" title="End the application">exit</a> </td><td> <a href="lreplace.htm" title="Replace elements in a list with new elements">lreplace</a> </td><td> <a href="regexp.htm" title="Match a regular expression against a string">regexp</a> </td><td> <a href="tclvars.htm" title="Variables used by Tcl">tcl_traceExec</a> </td></tr>
<tr><td> <a href="tclvars.htm" title="Variables used by Tcl">argv</a> </td><td> <a href="expr.htm" title="Evaluate an expression">expr</a> </td><td> <a href="lreverse.htm" title="Reverse the order of a list">lreverse</a> </td><td> <a href="registry.htm" title="Manipulate the Windows registry">registry</a> </td><td> <a href="tclvars.htm" title="Variables used by Tcl">tcl_version</a> </td></tr>
<tr><td> <a href="tclvars.htm" title="Variables used by Tcl">argv0</a> </td><td> <a href="fblocked.htm" title="Test whether the last input operation exhausted all available input">fblocked</a> </td><td> <a href="lsearch.htm" title="See if a list contains a particular element">lsearch</a> </td><td> <a href="regsub.htm" title="Perform substitutions based on regular expression pattern matching">regsub</a> </td><td> <a href="library.htm" title="Standard library of Tcl procedures">tcl_wordBreakAfter</a> </td></tr>
<tr><td> <a href="array.htm" title="Manipulate array variables">array</a> </td><td> <a href="fconfigure.htm" title="Set and get options on a channel">fconfigure</a> </td><td> <a href="lset.htm" title="Change an element in a list">lset</a> </td><td> <a href="rename.htm" title="Rename or delete a command">rename</a> </td><td> <a href="library.htm" title="Standard library of Tcl procedures">tcl_wordBreakBefore</a> </td></tr>
<tr><td> <a href="library.htm" title="Standard library of Tcl procedures">auto_execok</a> </td><td> <a href="fcopy.htm" title="Copy data from one channel to another">fcopy</a> </td><td> <a href="lsort.htm" title="Sort the elements of a list">lsort</a> </td><td> <a href="return.htm" title="Return from a procedure, or set return code of a script">return</a> </td><td> <a href="tclvars.htm" title="Variables used by Tcl">tcl_wordchars</a> </td></tr>
<tr><td> <a href="library.htm" title="Standard library of Tcl procedures">auto_import</a> </td><td> <a href="file.htm" title="Manipulate file names and attributes">file</a> </td><td> <a href="mathfunc.htm" title="Mathematical functions for Tcl expressions">mathfunc</a> </td><td> <a href="safe.htm" title="Creating and manipulating safe interpreters">safe</a> </td><td> <a href="tcltest.htm" title="Test harness support code and utilities">tcltest</a> </td></tr>
<tr><td> <a href="library.htm" title="Standard library of Tcl procedures">auto_load</a> </td><td> <a href="fileevent.htm" title="Execute a script when a channel becomes readable or writable">fileevent</a> </td><td> <a href="mathop.htm" title="Mathematical operators as Tcl commands">mathop</a> </td><td> <a href="scan.htm" title="Parse string using conversion specifiers in the style of sscanf">scan</a> </td><td> <a href="tell.htm" title="Return current access position for an open channel">tell</a> </td></tr>
<tr><td> <a href="library.htm" title="Standard library of Tcl procedures">auto_mkindex</a> </td><td> <a href="filename.htm" title="File name conventions supported by Tcl commands">filename</a> </td><td> <a href="memory.htm" title="Control Tcl memory debugging capabilities">memory</a> </td><td> <a href="seek.htm" title="Change the access position for an open channel">seek</a> </td><td> <a href="throw.htm" title="Generate a machine-readable error">throw</a> </td></tr>
<tr><td> <a href="tclvars.htm" title="Variables used by Tcl">auto_path</a> </td><td> <a href="flush.htm" title="Flush buffered output for a channel">flush</a> </td><td> <a href="msgcat.htm" title="Tcl message catalog">msgcat</a> </td><td> <a href="self.htm" title="Method call internal introspection">self</a> </td><td> <a href="time.htm" title="Time the execution of a script">time</a> </td></tr>
<tr><td> <a href="library.htm" title="Standard library of Tcl procedures">auto_qualify</a> </td><td> <a href="for.htm" title="'For' loop">for</a> </td><td> <a href="my.htm" title="Invoke any method of current object">my</a> </td><td> <a href="set.htm" title="Read and write variables">set</a> </td><td> <a href="timerate.htm" title="Calibrated performance measurements of script execution time">timerate</a> </td></tr>
<tr><td> <a href="library.htm" title="Standard library of Tcl procedures">auto_reset</a> </td><td> <a href="foreach.htm" title="Iterate over all elements in one or more lists">foreach</a> </td><td> <a href="namespace.htm" title="Create and manipulate contexts for commands and variables">namespace</a> </td><td> <a href="socket.htm" title="Open a TCP network connection">socket</a> </td><td> <a href="tm.htm" title="Facilities for locating and loading of Tcl Modules">tm</a> </td></tr>
<tr><td> <a href="bgerror.htm" title="Command invoked to process background errors">bgerror</a> </td><td> <a href="format.htm" title="Format a string in the style of sprintf">format</a> </td><td> <a href="next.htm" title="Invoke superclass method implementations">next</a> </td><td> <a href="source.htm" title="Evaluate a file or resource as a Tcl script">source</a> </td><td> <a href="trace.htm" title="Monitor variable accesses, command usages and command executions">trace</a> </td></tr>
<tr><td> <a href="binary.htm" title="Insert and extract fields from binary strings">binary</a> </td><td> <a href="gets.htm" title="Read a line from a channel">gets</a> </td><td> <a href="next.htm" title="Invoke superclass method implementations">nextto</a> </td><td> <a href="split.htm" title="Split a string into a proper Tcl list">split</a> </td><td> <a href="transchan.htm" title="Command handler API of channel transforms">transchan</a> </td></tr>
<tr><td> <a href="break.htm" title="Abort looping command">break</a> </td><td> <a href="glob.htm" title="Return names of files that match patterns">glob</a> </td><td> <a href="class.htm" title="Class of all classes">oo::class</a> </td><td> <a href="string.htm" title="Manipulate strings">string</a> </td><td> <a href="try.htm" title="Trap and process errors and exceptions">try</a> </td></tr>
<tr><td> <a href="catch.htm" title="Evaluate script and trap exceptional returns">catch</a> </td><td> <a href="global.htm" title="Access global variables">global</a> </td><td> <a href="copy.htm" title="Create copies of objects and classes">oo::copy</a> </td><td> <a href="subst.htm" title="Perform backslash, command, and variable substitutions">subst</a> </td><td> <a href="unknown.htm" title="Handle attempts to use non-existent commands">unknown</a> </td></tr>
<tr><td> <a href="cd.htm" title="Change working directory">cd</a> </td><td> <a href="history.htm" title="Manipulate the history list">history</a> </td><td> <a href="define.htm" title="Define and configure classes and objects">oo::define</a> </td><td> <a href="switch.htm" title="Evaluate one of several scripts, depending on a given value">switch</a> </td><td> <a href="unload.htm" title="Unload machine code">unload</a> </td></tr>
<tr><td> <a href="chan.htm" title="Read, write and manipulate channels">chan</a> </td><td> <a href="http.htm" title="Client-side implementation of the HTTP/1.1 protocol">http</a> </td><td> <a href="define.htm" title="Define and configure classes and objects">oo::objdefine</a> </td><td> <a href="tailcall.htm" title="Replace the current procedure with another command">tailcall</a> </td><td> <a href="unset.htm" title="Delete variables">unset</a> </td></tr>
<tr><td> <a href="clock.htm" title="Obtain and manipulate dates and times">clock</a> </td><td> <a href="if.htm" title="Execute scripts conditionally">if</a> </td><td> <a href="object.htm" title="Root class of the class hierarchy">oo::object</a> </td><td> <a href="Tcl.htm" title="Tool Command Language">Tcl</a> </td><td> <a href="update.htm" title="Process pending events and idle callbacks">update</a> </td></tr>
<tr><td> <a href="close.htm" title="Close an open channel">close</a> </td><td> <a href="incr.htm" title="Increment the value of a variable">incr</a> </td><td> <a href="open.htm" title="Open a file-based or command pipeline channel">open</a> </td><td> <a href="prefix.htm" title="Facilities for prefix matching">tcl::prefix</a> </td><td> <a href="uplevel.htm" title="Execute a script in a different stack frame">uplevel</a> </td></tr>
<tr><td> <a href="concat.htm" title="Join lists together">concat</a> </td><td> <a href="info.htm" title="Return information about the state of the Tcl interpreter">info</a> </td><td> <a href="package.htm" title="Facilities for package loading and version control">package</a> </td><td> <a href="library.htm" title="Standard library of Tcl procedures">tcl_endOfWord</a> </td><td> <a href="upvar.htm" title="Create link to variable in a different stack frame">upvar</a> </td></tr>
<tr><td> <a href="continue.htm" title="Skip to the next iteration of a loop">continue</a> </td><td> <a href="interp.htm" title="Create and manipulate Tcl interpreters">interp</a> </td><td> <a href="library.htm" title="Standard library of Tcl procedures">parray</a> </td><td> <a href="library.htm" title="Standard library of Tcl procedures">tcl_findLibrary</a> </td><td> <a href="variable.htm" title="Create and initialize a namespace variable">variable</a> </td></tr>
<tr><td> <a href="coroutine.htm" title="Create and produce values from coroutines">coroutine</a> </td><td> <a href="join.htm" title="Create a string by joining together list elements">join</a> </td><td> <a href="pid.htm" title="Retrieve process identifiers">pid</a> </td><td> <a href="tclvars.htm" title="Variables used by Tcl">tcl_interactive</a> </td><td> <a href="vwait.htm" title="Process events until a variable is written">vwait</a> </td></tr>
<tr><td> <a href="dde.htm" title="Execute a Dynamic Data Exchange command">dde</a> </td><td> <a href="lappend.htm" title="Append list elements onto a variable">lappend</a> </td><td> <a href="packagens.htm" title="Construct an appropriate 'package ifneeded' command for a given package specification">pkg::create</a> </td><td> <a href="tclvars.htm" title="Variables used by Tcl">tcl_library</a> </td><td> <a href="while.htm" title="Execute script repeatedly as long as a condition is met">while</a> </td></tr>
<tr><td> <a href="dict.htm" title="Manipulate dictionaries">dict</a> </td><td> <a href="lassign.htm" title="Assign list elements to variables">lassign</a> </td><td> <a href="pkgMkIndex.htm" title="Build an index for automatic loading of packages">pkg_mkIndex</a> </td><td> <a href="tclvars.htm" title="Variables used by Tcl">tcl_nonwordchars</a> </td><td> <a href="coroutine.htm" title="Create and produce values from coroutines">yield</a> </td></tr>
<tr><td> <a href="encoding.htm" title="Manipulate encodings">encoding</a> </td><td> <a href="lindex.htm" title="Retrieve an element from a list">lindex</a> </td><td> <a href="platform.htm" title="System identification support code and utilities">platform</a> </td><td> <a href="tclvars.htm" title="Variables used by Tcl">tcl_patchLevel</a> </td><td> <a href="coroutine.htm" title="Create and produce values from coroutines">yieldto</a> </td></tr>
<tr><td> <a href="tclvars.htm" title="Variables used by Tcl">env</a> </td><td> <a href="linsert.htm" title="Insert elements into a list">linsert</a> </td><td> <a href="platform_shell.htm" title="System identification support code and utilities">platform::shell</a> </td><td> <a href="tclvars.htm" title="Variables used by Tcl">tcl_pkgPath</a> </td><td> <a href="zlib.htm" title="Compression and decompression operations">zlib</a> </td></tr>
<tr><td> <a href="eof.htm" title="Check for end of file condition on channel">eof</a> </td><td> <a href="list.htm" title="Create a list">list</a> </td><td> <a href="proc.htm" title="Create a Tcl procedure">proc</a> </td><td> <a href="tclvars.htm" title="Variables used by Tcl">tcl_platform</a> </td></tr>
<tr><td> <a href="error.htm" title="Generate an error">error</a> </td><td> <a href="llength.htm" title="Count the number of elements in a list">llength</a> </td><td> <a href="puts.htm" title="Write to a channel">puts</a> </td><td> <a href="tclvars.htm" title="Variables used by Tcl">tcl_precision</a> </td></tr>
<tr><td> <a href="tclvars.htm" title="Variables used by Tcl">errorCode</a> </td><td> <a href="lmap.htm" title="Iterate over all elements in one or more lists and collect results">lmap</a> </td><td> <a href="pwd.htm" title="Return the absolute path of the current working directory">pwd</a> </td><td> <a href="tclvars.htm" title="Variables used by Tcl">tcl_rcFileName</a> </td></tr>
</table>
<div class="copy">Copyright &copy; 1990-1994 The Regents of the University of California
<BR>Copyright &copy; 1992-1999 Karl Lehenbauer &amp; Mark Diekhans
<BR>Copyright &copy; 1993-1997 Bell Labs Innovations for Lucent Technologies
<BR>Copyright &copy; 1994-2000 Sun Microsystems, Inc
<BR>Copyright &copy; 1998 Mark Harrison
<BR>Copyright &copy; 1998-2000 Ajuba Solutions
<BR>Copyright &copy; 1998-2000 Scriptics Corporation
<BR>Copyright &copy; 2001-2004 ActiveState Corporation
<BR>Copyright &copy; 2001-2005 Kevin B. Kenny &lt;kennykb(at)acm.org&gt;
<BR>Copyright &copy; 2001-2012 Donal K. Fellows
<BR>Copyright &copy; 2003 George Petasis &lt;petasis(at)iit.demokritos.gr&gt;
<BR>Copyright &copy; 2003 Simon Geard
<BR>Copyright &copy; 2004-2010 Andreas Kupries &lt;andreas_kupries(at)users.sourceforge.net&gt;
<BR>Copyright &copy; 2005 Sergey Brester aka sebres
<BR>Copyright &copy; 2006 Miguel Sofer
<BR>Copyright &copy; 2006-2008 ActiveState Software Inc
<BR>Copyright &copy; 2006-2008 Joe Mistachkin
<BR>Copyright &copy; 2008 Pat Thoyts
<BR>Copyright &copy; 2008 Peter Spjuth &lt;pspjuth(at)users.sourceforge.net&gt;
<BR>Copyright &copy; 2012 Trevor Davel
</div>
</BODY></HTML>
